<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>
<body>
	<div style="margin:0 auto;padding:20px;">
	    <form class="layui-form" action="" id="showForm" autocomplete="off">
	        <div class="layui-form-item">
	            <label class="layui-form-label">公司名称<i class="red">*</i></label>
	            <div class="layui-input-block">
                	<input type="text" id="companyName" name="companyName" win-verify="required" placeholder="请输入公司名称" class="layui-input" maxlength="50"/>
                </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">公司类型<i class="red">*</i></label>
	            <div class="layui-input-block winui-radio">
	                <input type="radio" name="companyType" value="1" title="总公司" lay-filter="companyType" checked/>
	                <input type="radio" name="companyType" value="2" title="子公司" lay-filter="companyType" />
	            </div>
	        </div>
	        <div class="layui-form-item" id="parentIdBox">
	            <label class="layui-form-label">总公司<i class="red">*</i></label>
	            <div class="layui-input-block">
	            	<select id="OverAllCompany" lay-filter="OverAllCompany" lay-search="">
	            		<option value="">请选择</option>
	            	</select>
	            </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">公司地址<i class="red">*</i></label>
	            <div class="layui-input-block" id="lockParentSel">
	            </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">详细地址<i class="red">*</i></label>
	            <div class="layui-input-block">
                	<input type="text" id="addressDetailed" name="addressDetailed" win-verify="required" placeholder="请输入公司详细地址" class="layui-input" maxlength="50"/>
                </div>
	        </div>
	        <div class="layui-form-item">
	            <label class="layui-form-label">公司简介</label>
	            <div class="layui-input-block">
                	<textarea id="content" name="content" style="display: none;"></textarea>
                </div>
	        </div>
	        <div class="layui-form-item">
	            <div class="layui-input-block">
	                <button class="winui-btn" id="cancle">取消</button>
	                <button class="winui-btn" lay-submit lay-filter="formAddBean">保存</button>
	            </div>
	        </div>
	    </form>
	</div>
	<script src="../../assets/lib/layui/layui.js"></script>
   	<script src="../../assets/lib/layui/custom.js"></script>
   	<script type="text/javascript">
        layui.config({base: '../../js/companymation/'}).use('companymationadd');
    </script>
</body>
</html>